let mongoose = require('mongoose');

let record = new mongoose.Schema({
    _id:String, //角色
    group:Number,  //分组
    role:Number,
    sex : {
        type:Number,
        default : 0
    },
    nickname:String,
    headImgUrl:String,
    result:Number, //结果  1胜利  0平局  -1失败
},{versionKey:false});

record.methods = {

}

module.exports = record;